package com.smile.api;

import com.smile.commons.page.R;
import com.smile.request.AddOperateLogRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "smile-plus-standalone-log-manager"
        , contextId = "operateLog"
        , path = "/api/log")
public interface OperateLogApi {
    @PostMapping("/log/operate/addOperateLogRequest")
    R<Void> addOperateLogRequest(@RequestBody AddOperateLogRequest addOperateLogRequest);
}
